#include "head.h"

int main() {
    mp_pool_s* pool = mp_create_pool(PAGE_SIZE);
    monitor_mp_pool(pool);
    void* mp[30];
    int i;
    for (i = 0; i < 10; i++) {
        mp[i] = mp_malloc_s(512,pool);
        monitor_mp_pool(pool);
    }
    monitor_mp_pool(pool);

    for (i = 0; i < 10; i++) {
        mp_free(pool, mp[i]);
    }
    monitor_mp_pool(pool);
    mp_destroy_pool(pool);
    return 0;

}